using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Infrastructure.Dto.Requests.Objects;
namespace NewFormatProject.Server.Instances.Extends.Requests
{
	public static class EntityLoginLogsExtend
{
		public static LoginLogs ToEntity(this RequestLoginLogsDto dto)
		{
			return new LoginLogs
			{
				LlId = dto.id,
				LlCode = dto.code,
				LlMessage = dto.message,
				LlUserId = dto.userId,
			};
		}
	}
}
